function gcpick_plotstation(data, status, config)
figure(status.stationWindow);
clf;
colorset={'r','b'};
lati = 360;
loni = 360;
lata = -360;
lona = -360;
for i=1:length(data)
    tc=colorset{data(i).flag+1};
    plot(data(i).lon, data(i).lat, [tc,'^'], 'MarkerFaceColor', tc, 'MarkerEdgeColor', tc, 'MarkerSize', config.markerSize);
    text(data(i).lon, data(i).lat, data(i).station);
    lati = min([lati, data(i).lat]);
    lata = max([lata, data(i).lat]);
    loni = min([loni, data(i).lon]);
    lona = max([lona, data(i).lon]);
    hold on;
end
if config.lon < 180 && config.lat < 90
    gcpick_plotsource([config.lon, config.lat], status);
    lati = min([lati, config.lat]);
    lata = max([lata, config.lat]);
    loni = min([loni, config.lon]);
    lona = max([lona, config.lon]);
end
grid on;
axis equal;
% set(gca, 'XLim', [ floor(loni), ceil(lona) ], 'YLim', [ floor(lati), ceil(lata) ]);
set(gca, 'XLim', [ loni, lona ], 'YLim', [ lati, lata ]);
end